package cn.kgm.executor;

import cn.kgm.pojo.Configuration;
import cn.kgm.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {

    <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object param) throws Exception;

    void close() throws SQLException;
}
